<?php $baseUrl = $this->baseUrl(); ?>
<?php $bootstrapTwitter = $baseUrl . "/externals/bootstrap_twitter_2.0.2"; ?>
<?php $this->headLink()->appendStylesheet($bootstrapTwitter . "/css/bootstrap.css"); ?>
<?php $this->headLink()->appendStylesheet($bootstrapTwitter . "/css/bootstrap-responsive.css"); ?>
<?php $this->headLink()->appendStylesheet($baseUrl . "/themes/blue/css/app.css"); ?>
<?php $this->headScript()->appendFile($baseUrl . "/js/html5.js", "text/javascript", array("conditional" => "lt IE 9"));?>
<?php $this->headScript()->appendFile($bootstrapTwitter . "/js/bootstrap.min.js");?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <?php echo $this->headTitle() ?>
        <?php echo $this->headMeta() ?>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <?php echo $this->headLink() ?>
        <?php echo $this->headScript(); ?>
        <link rel="shortcut icon" href="<?php echo $bootstrapTwitter . "/ico/favicon.ico"; ?>">
        <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo $bootstrapTwitter . "/ico/apple-touch-icon-114-precomposed.png"; ?>">
        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo $bootstrapTwitter . "/ico/apple-touch-icon-72-precomposed.png"; ?>">
        <link rel="apple-touch-icon-precomposed" href="<?php echo $bootstrapTwitter . "/ico/apple-touch-icon-57-precomposed.png"; ?>">
    </head>
    <body>
        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container-fluid">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>
                    <a class="brand"
                       href="<?php echo $this->url(array('module' => 'rockitbos'), NULL, TRUE)?>"
                       style="padding-top: 0px; padding-bottom: 0px;">
                        <img src="<?php echo $this->baseUrl("images/navilogo.png"); ?>" title="Zum Dashboard">
                    </a>
                    <div class="nav-collapse">
                        <ul class="nav">
                            <?php echo $this->tab(); ?>
                        </ul>
                        <p class="navbar-text pull-right">
                            Logged in as
                            <a href="<?php echo $this->url(array('module' => 'rockitbos', 'set' => 'logout'), NULL, TRUE)?>">
                                <?php $identity = Zend_Auth::getInstance()->getIdentity(); ?>
                                <?php echo $identity['username']; ?>
                            </a>
                        </p>
                    </div>
                </div>
            </div>
        </div>
        <?php echo $this->layout()->content ?>
        <script src="<?php echo $bootstrapTwitter; ?>/js/jquery.js"></script>
        <script src="<?php echo $bootstrapTwitter; ?>/js/bootstrap.min.js"></script>
    </body>
</html>